<template>
<div>
  <p>
    <el-button
      type="primary"
      size="mini"
      icon="el-icon-cloudy"
      plain
      @click="goTarget('https://gitee.com/y_project/RuoYi-Vue')"
    >访问码云</el-button>
    <el-button
      size="mini"
      icon="el-icon-s-home"
      plain
      @click="goTarget('http://ruoyi.vip')"
    >访问主页</el-button>
    <el-button
      size="mini"
      icon="el-icon-position"
      plain
      @click="goTarget('/firePicture')">访问大屏1</el-button>
    <el-button
      size="mini"
      icon="el-icon-position"
      plain
      @click="goTarget('/firePicture2')">访问大屏2</el-button>
  </p>
</div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      // 版本号
      version: "3.8.6"
    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    }
  }
};
</script>

<style scoped lang="scss">

</style>

